﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace MyDemos
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage ()
        {
            InitializeComponent ();
        }

        private void Button_Click (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/TaskDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_1 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/DelegateAndEvent.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_2 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/NokiaMap.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_3 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Test/test.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_4 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/DependencyPropertyDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_5 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/PopupDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_6 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/AnimationDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_7 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/FontSizeDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_8 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/XNADemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_9 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/WebDemo/WebDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_10 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/RSSDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_11 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/TileDemo.xaml", UriKind.RelativeOrAbsolute));
        }

        private void Button_Click_12 (object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate (new Uri ("/MyDemos;component/Demos/CalendarDemo.xaml", UriKind.RelativeOrAbsolute));
        }
    }
}